package cn.wmx.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/wmx")
@RestController
public class WmxController {

    // http://localhost:9958/wmx/go
    @RequestMapping(value = "/go", method = RequestMethod.GET)
    public String print() {
        System.out.println("毁灭吧！");
        return "WmxController.print";
    }
}